# -*- coding: utf-8 -*-
from app.views import CommonHandler

from tqdm import tqdm
import tornado
import asyncio
import app.tools.SafeMonitorTools.api as api

class tHandler(tornado.web.RequestHandler):
    @tornado.gen.coroutine
    def get(self):
        yield api.query_t()


class tempstatusHandler(tornado.web.RequestHandler):
    @tornado.gen.coroutine
    def get(self):
        yield api.query_temp_m_status()

